package com.abc.cloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 联系人表
 * 
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-11-29 13:19:41
 */
@Data
@TableName("tb_contacts")
@ApiModel(value = "联系人表对象", description = "联系人表")
public class ContactsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "ID")
    private Long id;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
    private Long userId;
	/**
	 * 分组ID
	 */
	@ApiModelProperty(value = "分组ID")
    private Long groupId;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
    private String note;
	/**
	 * 联系人ID
	 */
	@ApiModelProperty(value = "联系人ID")
    private Long contactsId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**
	 * 状态（1：正常，2：删除）
	 */
	@ApiModelProperty(value = "状态（1：正常，2：删除）")
    private Integer status;

}
